package recycle.pojo;

import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 描述：用户登陆日志表实体类
* @author 孙冉
* @date 2019/07/22
*/
public class Customerloginlog implements Serializable {

   /**登陆日志ID*/
    private Integer loginId;
   /**登陆用户ID*/
    private Integer customerId;
   /**用户登陆时间*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date loginTime;
   /**登陆IP*/
    private Integer loginIp;
   /**登陆类型：0未成功，1成功*/
    private Integer loginType;
   /**其他*/
    private String other1;
   /**其他*/
    private String other2;

    public Customerloginlog(){}
    
    public Customerloginlog(Integer loginId,Integer customerId,Date loginTime,Integer loginIp,Integer loginType,String other1,String other2){
        this.loginId = loginId;
        this.customerId = customerId;
        this.loginTime = loginTime;
        this.loginIp = loginIp;
        this.loginType = loginType;
        this.other1 = other1;
        this.other2 = other2;
    }

   /**获取登陆日志ID属性的值*/
    public Integer getLoginId() {
        return this.loginId;
    }
   /**设置登陆日志ID属性的值*/
    public void setLoginId(Integer loginId) {
        this.loginId = loginId;
    }
   /**获取登陆用户ID属性的值*/
    public Integer getCustomerId() {
        return this.customerId;
    }
   /**设置登陆用户ID属性的值*/
    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }
   /**获取用户登陆时间属性的值*/
    public Date getLoginTime() {
        return this.loginTime;
    }
   /**设置用户登陆时间属性的值*/
    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }
   /**获取登陆IP属性的值*/
    public Integer getLoginIp() {
        return this.loginIp;
    }
   /**设置登陆IP属性的值*/
    public void setLoginIp(Integer loginIp) {
        this.loginIp = loginIp;
    }
   /**获取登陆类型：0未成功，1成功属性的值*/
    public Integer getLoginType() {
        return this.loginType;
    }
   /**设置登陆类型：0未成功，1成功属性的值*/
    public void setLoginType(Integer loginType) {
        this.loginType = loginType;
    }
   /**获取其他属性的值*/
    public String getOther1() {
        return this.other1;
    }
   /**设置其他属性的值*/
    public void setOther1(String other1) {
        this.other1 = other1;
    }
   /**获取其他属性的值*/
    public String getOther2() {
        return this.other2;
    }
   /**设置其他属性的值*/
    public void setOther2(String other2) {
        this.other2 = other2;
    }
}
